package pack1;

public class java8 {
    public static void main(String[] args){
        double Vx=1e-8;
        double x=1;
        double a=function(x+Vx);
        double b=function(x-Vx);
        double c=2*Vx;
        double answer=(a-b)/c;
        System.out.print("answer"+"="+answer);
    }
    public static double function(double x){
        double a=1.0;
        double b=1.0+Math.pow(Math.E,-0.085*x);
        double answer=a/b;
        return answer;
    }
}
